'Usage Dim items() As String Dim instance As New ListBoxCellType(items)
Parameters
- items
- Items for the list specified in a string array
'Usage Dim items() As String Dim instance As New ListBoxCellType(items)
FarPoint.Web.Spread.ListBoxCellType lbcell = new FarPoint.Web.Spread.ListBoxCellType(new String[] {"Carbon", "Oxygen", "Hydrogen"}); lbcell.SelectedBackColor = Color.Yellow; lbcell.SelectedForeColor = Color.DarkBlue; FpSpread1.ActiveSheetView.Cells[0, 0].CellType = lbcell; FpSpread1.ActiveSheetView.Rows[0].Height = 140;
Dim lbcell As New FarPoint.Web.Spread.ListBoxCellType(New String() {"Carbon", "Oxygen", "Hydrogen"}) lbcell.SelectedBackColor = Color.Yellow lbcell.SelectedForeColor = Color.DarkBlue FpSpread1.ActiveSheetView.Cells(0, 0).CellType = lbcell FpSpread1.ActiveSheetView.Rows(0).Height = 140